#include "BulletSoftBody/btCGProjection.h"
#ifdef __cplusplus
extern "C" {
#endif
double** bullet_btCGProjection_GetFieldOfM_dt(btCGProjection* c_this){
	return (double**)(&c_this->m_dt);
}

DeformableContactConstraint* bullet_NewDeformableContactConstraint(btSoftBody::RContact* rcontact){
	btSoftBody::RContact const& c_arg_rcontact=(btSoftBody::RContact const&)(*rcontact);
	DeformableContactConstraint* wrap_out = new DeformableContactConstraint(c_arg_rcontact);
	return wrap_out;
}

DeformableContactConstraint* bullet_NewDeformableContactConstraint1(){
	DeformableContactConstraint* wrap_out = new DeformableContactConstraint();
	return wrap_out;
}

void bullet_DeformableContactConstraint_append(DeformableContactConstraint* c_this,btSoftBody::RContact* rcontact){
	btSoftBody::RContact const& c_arg_rcontact=(btSoftBody::RContact const&)(*rcontact);
	c_this->append(c_arg_rcontact);
}

btSoftBody::Node** bullet_DeformableContactConstraint_GetFieldOfM_node(DeformableContactConstraint* c_this){
	return (btSoftBody::Node**)(&c_this->m_node);
}

void bullet_DeformableContactConstraint_replace(DeformableContactConstraint* c_this,btSoftBody::RContact* rcontact){
	btSoftBody::RContact const& c_arg_rcontact=(btSoftBody::RContact const&)(*rcontact);
	c_this->replace(c_arg_rcontact);
}

#ifdef __cplusplus
}
#endif
